#ifndef INCOMINGWIDGET_H
#define INCOMINGWIDGET_H

#include <QDialog>
#include <QWidget>
#include <QPixmap>
namespace Ui {
class IncomingWidget;
}

class IncomingWidget : public QDialog
{
    Q_OBJECT

public:
    explicit IncomingWidget(QWidget *parent = 0);
    ~IncomingWidget();
    void setDispname(QString dispname);
    void setUsername(QString username);

private slots:
    void on_btnDecline_clicked();
    void on_btnAcceptAudio_clicked();
    void on_btnAcceptVideo_clicked();

private:
    Ui::IncomingWidget *ui;
    QPixmap mBackPixmap;
    void setBackgroundImage(QPixmap &pixmap);
};

#endif // INCOMINGWIDGET_H
